/*
 * @Author: 秦福凯
 * @LastEditTime: 2025-11-21 16:35:15
 * @Description: 业务相关api
 */


import {baseapi} from "../baseapi"
import {getMethod,dowload,upload} from '../method'


export default {


  // 租户端
  getHomeMent: (data) => getMethod('POST', baseapi + '/tenant/home/getHomeMent', data,),//获取首页公告
  getInfo: (data) => getMethod('POST', baseapi + '/tenant/home/getInfo', data,),//获取租户个人信息
  getPaidMent: (data) => getMethod('POST', baseapi + '/tenant/recharge/getPaidMent', data,),//获取充值公告



  updateRecharge: (data) => getMethod('POST', baseapi + '/tenant/recharge/updateRecharge', data,),//重新提交充值(仅审核拒绝和类型为租户充值可用)
  commitRecharge: (data) => getMethod('POST', baseapi + '/tenant/recharge/commitRecharge', data,),//提交充值


  commitRecharge: (data) => getMethod('POST', baseapi + '/tenant/recharge/commitRecharge', data,),//提交充值
  tenantRechargeListPage: (data) => getMethod('POST', baseapi + '/tenant/recharge/tenantRechargeListPage', data,),//查看我的充值记录 筛选状态
  pointRecord: (data) => getMethod('POST', baseapi + '/tenant/recharge/pointRecord', data,),//查看积分记录



  officalOrderList: (data) => getMethod('POST', baseapi + '/tenant/offical/officalOrderList', data,),//获取订单列表
  videoOrderList: (data) => getMethod('POST', baseapi + '/tenant/video/videoOrderList', data,),//获取视频号订单列表
  rbookOrderList: (data) => getMethod('POST', baseapi + '/tenant/rbook/rbookOrderList', data,),//获取小红书订单列表

  addOfficalOrder: (data) => getMethod('POST', baseapi + '/tenant/offical/addOfficalOrder', data,),//公众号下单
  addVideoOrder: (data) => getMethod('POST', baseapi + '/tenant/video/addVideoOrder', data,),//视频号下单
  addRbookOrder: (data) => getMethod('POST', baseapi + '/tenant/rbook/addRbookOrder', data,),//小红书下单


  patternList1: (data) => getMethod('POST', baseapi + '/tenant/offical/patternList', data,),//公众号推广模式
  patternList2: (data) => getMethod('POST', baseapi + '/tenant/video/patternList', data,),//视频号推广模式
  patternList3: (data) => getMethod('POST', baseapi + '/tenant/rbook/patternList', data,),//小红书推广模式


  revokeOfficalOrder: (data) => getMethod('POST', baseapi + '/tenant/offical/revokeOfficalOrder', data,),//公众号撤单
  revokeVideoOrder: (data) => getMethod('POST', baseapi + '/tenant/video/revokeVideoOrder', data,),//视频号撤单
  revokeRbookOrder: (data) => getMethod('POST', baseapi + '/tenant/rbook/revokeRbookOrder', data,),//小红书撤单



  revokeRecharge: (data) => getMethod('POST', baseapi + '/tenant/recharge/revokeRecharge', data,),//充值撤单 传订单id


}